package Views;

import UCM.UCDisplayCreateManager;
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JPanel;

/**
 *
 * @author Joshua King
 */
public class ViewDisplayCreateManager extends JPanel {
    protected JButton createManagerButton = new JButton("Create Manager");
    private final UCDisplayCreateManager UCDisplayCreateManager = new UCDisplayCreateManager(this);

    public ViewDisplayCreateManager() {
        setLayout(new FlowLayout());
        add(createManagerButton);
        createManagerButton.addActionListener(new AdapterUCCToAL(UCDisplayCreateManager));
    }

    public void setCreateManagerVisible() {
        ViewMain.getInstance().updateCreateManager();
    }
}
